<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="stylesheet" href="/module/html5up/control/css/zyUpload.css" type="text/css">
    <link rel="stylesheet" type="text/css" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css">
    <%include("/app/resapi/style.html"){}%>
    <style type="text/css">
        #myTable tr td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 0px;">
    <div class="well with-header">
        <div class="header bordered-pink">专辑首页设置</div>
        <form class="form-horizontal" role="form">
            <div class="form-group">
                <label class="col-sm-1 control-label no-padding-right">首页标题：</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" id="title" name="title" placeholder="首页标题" maxlength="50" value="<% if(partyAlbumHome!=null){%>${partyAlbumHome.title}<%}%>">
                </div>
                <div class="col-sm-6" style="line-height: 34px">专辑首页显示标题</div>
            </div>
            <div class="form-group">
                <label class="col-sm-1 control-label no-padding-right">首页logo：</label>
                <div class="col-sm-5">
                    <img src="/sys/file/getBannerImg?fileName=<% if(partyAlbumHome!=null){%>${partyAlbumHome.logoPic}<%}%>" style="widt: 100px; height: 40px" id="logoPic_img">
                    <a class="addfile" href="javascript:void(0)">上传LOGO
                        <input data-value="<% if(partyAlbumHome!=null){%>${partyAlbumHome.logoPic}<%}%>" type="file" onchange="uploadAblumlogo('logoPic');" hidefocus="true" size="1" id="logoPic"
                               name="logoPic" class="addfile" accept="image/*"></a>
                </div>
                <div class="col-sm-6" style="line-height: 34px">尺寸：120px*30px</div>
            </div>
            <div class="form-group">
                <label class="col-sm-1 control-label no-padding-right">轮播图：</label>
                <div class="col-sm-5">
                    <div class="col-sm-10" id="bannerPic"></div>
                </div>
                <div class="col-sm-6" style="line-height: 34px">尺寸：350px*1250px 专辑首页显示轮播图，最多3张图片</div>
            </div>
            <div class="form-group">
                <div class="col-sm-12" style="text-align: center">
                    <button type="button" class="btn btn-purple js-setbtn">设置</button>
                </div>
            </div>
        </form>
    </div>
</div>
<div id="orgselectdiv"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript">
    var bannerPic = "<% if(partyAlbumHome!=null){%>${partyAlbumHome.bannerPic}<%}%>";
</script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/module/html5up/core/zyFile.js"></script>
<script type="text/javascript" src="/module/html5up/control/js/zyUpload2.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/gobal/js/page/party/album/sethomeinfo.js"></script>
</html>
